Math.hypotenuse Method
Returns the length of the hypotenuse of a right angle triangle
given the length of the opposite and adjacent sides.
This method is static.
Parameters
- a
-
Type: Number
The length of the first side of the right angle triangle.
- b
-
Type: Number
The length of the second side of the right angle triangle.
Return Value
Type: Number
The length of the hypotenuse.